﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Function;

namespace UI.Permission
{
    /// <summary>
    /// 查询页权限
    /// </summary>
    public class Permission_Query : System.Web.UI.Page
    {
        protected override void OnInit(EventArgs e)
        {
            if (!RightCheck.HavePermission(RightCheck.permissionType.Query))
            {
                this.PostFinalMessage("没有权限 请求终止");
            }
            base.OnInit(e);
        }
    }
}